﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Principal.master" AutoEventWireup="true" CodeFile="rptAlmuerzosAEntregar.aspx.cs" Inherits="rptAlmuerzosAEntregar" %>

<%@ Register src="MenusDePagina/WebUserControlMenuReportes.ascx" tagname="WebUserControlMenuReportes" tagprefix="uc1" %>
<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <uc1:WebUserControlMenuReportes ID="WebUserControlMenuReportes1" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table align="center" class="detalle">
        <thead>
        <tr>
            <td colspan="2">
                Filtro de reporte</td>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td>
                Fecha de menu</td>
            <td>
                <asp:DropDownList ID="DropDownListFechaDeFiltro" runat="server" 
                    DataSourceID="ObjectDataSourceMenus" DataTextField="FechaMenu" 
                    DataValueField="FechaMenu" AppendDataBoundItems="True">
                    <asp:ListItem Selected="True" Value="-">-- Seleccione un fecha --</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        </tbody>
        <tfoot>
        <tr>
            <td colspan="2">
                <asp:LinkButton ID="LinkButtonFilter" runat="server" 
                    onclick="LinkButtonFilter_Click">Filter</asp:LinkButton>
            </td>
        </tr>
        </tfoot>
    </table>
    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" Height="500px" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="" ZoomMode="FullPage">
        <LocalReport ReportPath="Reportes\AlmuerzosParaEntregar.rdlc">
        </LocalReport>
    </rsweb:ReportViewer>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:ObjectDataSource ID="ObjectDataSourceMenus" runat="server"
        SelectMethod="consultarMenus" 
        TypeName="Libreria.SIG.Negocio.MenuNegocio">
        <SelectParameters>
            <asp:SessionParameter Name="cadenaDeConexion" SessionField="CadenaDeConexion" 
                Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
</asp:Content>

